package com.icoolkj.ms.api.system.feign;

import com.icoolkj.ms.api.system.vo.SysConfigVO;
import com.icoolkj.ms.common.core.constant.ServiceNameConstants;
import com.icoolkj.ms.common.core.response.ServerResponseEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author icoolkj
 * @version 1.0
 * @description 系统参数配置信息 对内接口
 * @createDate 2025/02/04 13:03
 */
@FeignClient(value = ServiceNameConstants.SYSTEM_SERVICE, contextId = "sysConfig", path = "/system/config")
public interface SysConfigFeignClient {

    @GetMapping("/list")
    ServerResponseEntity<List<SysConfigVO>> listSysConfig();

}
